package com.resou.reader.api.entry;

/**
 * Created by Garrett on 2018/8/27.
 * contact me krouky@outlook.com
 */
public class LoginResult<T> {

    /**
     * msg : 成功！
     * code : 0
     * data : {"id":2,"openId":"","createTime":1531110557255,"lastLoginTime":null,"userName":null,"password":null,"nickName":null,"thirdQqCode":null,"thirdWxCode":null,"thirdSinaCode":null,"phone":"18601381457","email":null,"ic_qq":null,"age":null,"gender":null,"wechart":null,"headPic":null,"userLevel":0,"userFrom":null,"userType":null,"userStatus":null}
     * token : 0F21AD8BA1235EB2A358B13C86CFED78
     */

    private String msg;
    private int code;
    private T data;
    private String token;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
